//
//  HRVideoPlayerCell.h
//  Hear
//
//  Created by mac on 2017/6/21.
//  Copyright © 2017年 mac. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "HRFollowDynamicLayout.h"
#import "HRDunamicLayout.h"
typedef NS_OPTIONS(NSInteger, JPPlayUnreachCellStyle) {
    JPPlayUnreachCellStyleNone = 1 << 0,  // normal 播放滑动可及cell
    JPPlayUnreachCellStyleUp = 1 << 1,    // top 顶部不可及
    JPPlayUnreachCellStyleDown = 1<< 2    // bottom 底部不可及
};


@interface HRVideoPlayerCell : UITableViewCell

@property (nonatomic, strong)UIImageView *videoImageView;

/** videoPath */
@property(nonatomic, strong)NSString *videoPath;

/** indexPath */
@property(nonatomic, strong)NSIndexPath *indexPath;


@property(nonatomic, assign)JPPlayUnreachCellStyle cellStyle;



+(instancetype)cellWithTableView:(UITableView *)tableView;
@property (nonatomic, strong)HRFollowDynamicLayout *layout;
@property (nonatomic, strong)void(^likeButtonClickBlock)(BOOL isLike);
@property (nonatomic, strong)void(^playMedioBlock)(HRDynamicModel *currentDynamicModel);
@property (nonatomic, strong)void(^clickIconBlock)();

@property (nonatomic, strong)HRDunamicLayout *dynamicLayout;

@end
